package com.xbongbong.admin.domain.entity;

import com.xbongbong.paas.toolbox.wrap.Entity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 工单模板分类镜像
 * @auther: xingxing.xiao
 * @date: 3/3/2020 21:24
 */
@Setter
@Getter
@ToString
public class MirrorWorkOrderTemplateCategoryEntity extends Entity {
    private static final long serialVersionUID = -6898182844629541977L;

    /**
     * 主键
     */
    private Long id;
    /**
     * 镜像id
     */
    private Long mirrorId;
    /**
     * 来源工单分类id
     */
    private Long sourceCategoryId;
    /**
     * 应用id
     */
    private Long appId;
    /**
     * 模板分类名
     */
    private String name;
    /**
     * 是否为默认，1为默认分类，0不是默认分类
     */
    private Integer isDefault;
    /**
     * 排序值
     */
    private Integer sort;
    /**
     * 创建人ID
     */
    private String creatorId;
    /**
     * 增加时间
     */
    private Long addTime;
    /**
     * 更新时间
     */
    private Long updateTime;
    /**
     * 删除标记 0未删除，1删除
     */
    private Integer del;

    public MirrorWorkOrderTemplateCategoryEntity() {
    }

    public MirrorWorkOrderTemplateCategoryEntity(Long mirrorId, Long sourceCategoryId, Long appId, String name, Integer isDefault, Integer sort, String creatorId, Long addTime, Long updateTime, Integer del) {
        this.mirrorId = mirrorId;
        this.sourceCategoryId = sourceCategoryId;
        this.appId = appId;
        this.name = name;
        this.isDefault = isDefault;
        this.sort = sort;
        this.creatorId = creatorId;
        this.addTime = addTime;
        this.updateTime = updateTime;
        this.del = del;
    }
}
